package com.qk.management.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.util.concurrent.TimeUnit;

/**
 * @Author:gzc
 * @Date: 2025/10/17 18:10
 * @Description:
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface RedisCacheAnnotation {
    String key() default  "";
    String keyPrefix() default "";
    long expire() default 0;
    TimeUnit expireTimeUnit() default TimeUnit.SECONDS;

}
